package com.chinaunicom.group.service.impl;


import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.chinaunicom.group.dao.GroupCityMapper;
import com.chinaunicom.group.model.GroupCity;
import com.chinaunicom.group.service.IGroupCityService;

@Service
public class GroupCityServiceImpl implements IGroupCityService {

	@Resource
	GroupCityMapper dao;
	
	@Override
	public int insert(GroupCity record) {
		// TODO Auto-generated method stub
		return dao.insert(record);
	}

	@Override
	public int insertSelective(GroupCity record) {
		// TODO Auto-generated method stub
		return dao.insertSelective(record);
	}

	@Override
	public List<GroupCity> queryByProvinceId(Integer provinceid) {
		// TODO Auto-generated method stub
		return dao.queryByProvinceId(provinceid);
	}

	@Override
	public GroupCity queryByCityName(String cityname) {
		// TODO Auto-generated method stub
		return dao.queryByCityName(cityname);
	}

	@Override
	public List<GroupCity> queryAll() {
		// TODO Auto-generated method stub
		return dao.queryAll();
	}

	@Override
	public List<GroupCity> queryByGroupProvince(String groupprovince) {
		// TODO Auto-generated method stub
		return dao.queryByGroupProvince(groupprovince);
	}

	

}
